package com.wxzz.elearning.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class FeignUserWalletDto  implements Serializable {
    private Long id;

    @ApiModelProperty(value = "用户id(平台端 企业端 id为0)")
    private Long userId;

    @ApiModelProperty(value = "0-平台端 1-企业端 2-用户端 3-讲师端")
    private Integer userType;

    @ApiModelProperty(value = "用户余额")
    private BigDecimal userBalance = new BigDecimal("0.00");

    @ApiModelProperty(value = "累计资产")
    private BigDecimal accumulate = new BigDecimal("0.00");

    @ApiModelProperty(value = "提现次数")
    private Integer withdrawNum = 0;

    @ApiModelProperty(value = "累计提现金额")
    private BigDecimal withdrawMoney = new BigDecimal("0.00");
}
